managed.opCast

Casts class to a more generic type

  1. managed!(const(Type)) opCast()
  2. managed!(immutable(Type)) opCast()
  3. managed!(CopyConstness!(Type, Type2)) opCast()
    struct managed(Type)
    static if(is(Type == class) || is(Type == interface))
    managed!(CopyConstness!(Type, Type2))
    opCast
    (
    Type2 : managed!Type2
    )
    ()
    if (
    is(Type : Type2)
    )
  4. managed!(CopyConstness!(Type, Type2)) opCast()
  5. managed!(CopyConstness!(Type, Type2)[]) opCast()
  6. managed!(CopyConstness!(Type, Type2)) opCast()
  7. managed!(CopyConstness!(TypeIf_StructBasic, Type2)[]) opCast()

Meta